import qs from 'querystring'
import request from './request'

const GET_ORDERS = 'orders'

function getOrders(params){
    return request({
        url:GET_ORDERS+ '?' + qs.stringify(params),
        method:'get'
    })
}

export {getOrders}